rm -rf ./dist
npm run build
sudo scp -r ./dist root@47.111.168.175:/www/server/nginx/html
if [ $? -ne 0 ]; then
  echo "上传失败"
else
  echo "上传成功"
fi
